package com.scenic.common.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Admin implements Serializable {
    private Integer id;//主键
    private String username;//用户名
    private String password;//密码
    private String salt;//盐
    private String phone;//手机号
    private String email;//邮箱
    private String realname;//真实姓名
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;//创建时间
    private Integer status;//0:正常 1:禁用

}
